#pragma once
#include <qdialog.h>
#include "ui_TriangleSetting.h"
#include "Objects.h"
#include "MaterialSetting.h"

class TriangleSettingDialog : public QDialog
{
	Q_OBJECT
public:
	TriangleSettingDialog(Triangle* tri, QWidget* parent = Q_NULLPTR);

private slots:
	void applyChange();
	void setMaterial();
private:
	Ui_TriangleSetting ui;
	Triangle* tri;
	MaterialSetting* ms;

};
